﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace Guardian
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
            propertyGrid1.SelectedObject = SettingsBear.myPrefs;
            propertyGrid2.SelectedObject = SettingsCat.myPrefs;
            propertyGrid3.SelectedObject = SettingsCommon.myPrefs;
        }

        private void button1_Click(object sender, EventArgs e)
        {
            SettingsBear.myPrefs.Save();
            SettingsCommon.myPrefs.Save();
            SettingsCat.myPrefs.Save();
            Close();
        }

        private void propertyGrid1_Click(object sender, EventArgs e)
        {

        }
    }
}
